package uk.ac.cam.cl.oscar.sift;

/**
 * This is just a convenient wrapper class.  It doesn't do anything
 * interesting.  It merely exists to pack 3 integers in one nice
 * bundle.
 */
public class Peak
{
    private int x, y, level; // coordinate and level

    public Peak(int newx, int newy, int lev)
    {
        this.x = newx;
        this.y = newy;
        this.level = lev;
    }

    public int getX() { return this.x; }
    public int getY() { return this.y; }
    public int getLevel() { return this.level; }

    public void setX(int newx) { this.x = newx; }
    public void setY(int newy) { this.y = newy; }
    public void setLevel(int lev) { this.level = lev; }
}
